import os
import sys

from pyecharts.globals import ThemeType


class Config:
    # E:\project\QTproject\mind-map
    # base_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
    base_path = os.path.dirname(os.path.abspath(sys.argv[0]))
    html_path = os.path.join(base_path, "resources", "html")
    image_path = os.path.join(base_path, "resources", "image")
    static_path = os.path.join(base_path, "resources", "statics")
    svg_path = os.path.join(base_path, "resources", "svg")
    data_path = os.path.join(base_path, "data")
    leaf_info_path = os.path.join(base_path, "leaf_info")

    # 图表主题
    chart_theme = ThemeType.LIGHT
    dark_theme = ThemeType.DARK
